﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DnD.Core.Campaign;

namespace DnD.UI.Panels
{
    public partial class ShortCharacterInformation : BasePanel
    {
        public ShortCharacterInformation()
        {
            InitializeComponent();
        }

        public void LoadData(Character c)
        {
            character_name.Text = c.Name;
            character_line1.Text = string.Format("{0}; {1}", c.RaceName, c.ClassNames);
            character_line2.Text = c.Attributes.ToString();
        }
    }
}
